﻿namespace Shop.RemoteModel.Coupon.Model
{
    public class CouponDatum
    {
        public long Id { get; set; }

        /// <summary>
        /// 优惠卷标题 
        ///</summary>
        public string CouponTitle { get; set; }
        /// <summary>
        /// 优惠卷类型 
        ///</summary>
        public CouponType CouponType { get; set; }

        /// <summary>
        /// 优惠说明
        /// </summary>
        public string CouponShow { get; set; }

        /// <summary>
        /// 投放量
        /// </summary>
        public int PutInNum { get; set; }

        /// <summary>
        /// 投放开始时间 
        ///</summary>
        public DateTime PutInBegin { get; set; }

        /// <summary>
        ///  投放结束时间 
        ///</summary>
        public DateTime PutInEnd { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? UseBegin
        {
            get;
            set;
        }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? UseEnd
        {
            get;
            set;
        }
        /// <summary>
        /// 领取后过期天数
        /// </summary>
        public int? ExpireDay
        {
            get;
            set;
        }
        /// <summary>
        /// 用户范围
        /// </summary>
        public CouponUserRange UserRange
        {
            get;
            set;
        }
        /// <summary>
        /// 等级
        /// </summary>
        public long? GradeId { get; set; }

        /// <summary>
        /// 等级名
        /// </summary>
        public string GradeName { get; set; }
        /// <summary>
        /// 投放商品范围
        /// </summary>
        public CouponPutInRange PutInRange { get; set; }

        /// <summary>
        /// 用户领取限制
        /// </summary>
        public CouponLimitReceiveType ReceiveType { get; set; }


        /// <summary>
        /// 单次领取数 
        ///</summary>
        public int ReceiveNum { get; set; }

        /// <summary>
        /// 是否公开
        /// </summary>
        public bool IsPublic { get; set; }

        /// <summary>
        /// 投放剩余数 
        ///</summary>
        public int SurplusNum { get; set; }

        public int SkuNum { get; set; }

        /// <summary>
        /// 投放状态 
        ///</summary>
        public CouponStatus Status { get; set; }

        /// <summary>
        /// 实际投放结束时间 
        ///</summary>
        public DateTime? ActualEndTime { get; set; }


        public DateTime AddTime { get; set; }
    }
}
